package com.aierjun.notepadjun;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import java.util.Timer;
import java.util.TimerTask;


/**
 * Created by Administrator on 2016/6/24.
 */
public class MMainActivity extends Activity {
    private ImageView yindao;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.yindaopage_activity);
        yindao= (ImageView) findViewById(R.id.img_yindao_1);

        final Intent it=new Intent(MMainActivity.this, MainActivity.class);
        Timer timer=new Timer();
        TimerTask task=new TimerTask() {
            @Override
            public void run() {
                startActivity(it);
            }
        };
        timer.schedule(task,1000*3);
    }
}
